import Layout from '@/layout'

const staging = {
  path: '/staging',
  component: Layout,
  redirect: '/staging/monitor',
  name: 'staging',
  meta: {
    title: '工作台',
    icon: '&#xe6a8;',
    level: 1
  },
  children: [
    {
      path: 'monitor',
      component: () => import('@/views/staging/index'),
      name: 'monitor',
      meta: { title: '首页', icon: '&#xe648;', level: 1 }
    },
    {
      path: 'statistics',
      component: () => import('@/views/staging/commom/statistics/index'),
      name: 'statistics',
      meta: { title: '综合统计', icon: '&#xe648;', level: 3 }
    },
    {
      path: 'enterprise',
      component: () => import('@/views/staging/commom/enterprise/index'),
      name: 'enterprise',
      meta: { title: '企业信息', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'enterpriseDetails',
      component: () => import('@/views/staging/commom/enterprise/details'),
      name: 'enterpriseDetails',
      meta: { title: '企业详情', icon: '&#xe648;', level: 4 },
      hidden: true
    },
    {
      path: 'personnel',
      component: () => import('@/views/staging/commom/personnel/index'),
      name: 'personnel',
      meta: { title: '人员管理', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'personnelDetails',
      component: () => import('@/views/staging/commom/personnel/details'),
      name: 'personnelDetails',
      meta: { title: '人员管理详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'specialTasksDetailes',
      component: () => import('@/views/staging/commom/personnel/specialTasksDetailes.vue'),
      name: 'specialTasksDetailes',
      meta: { title: '专项任务详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'appraisalRecordsDetails',
      component: () => import('@/views/staging/commom/personnel/components/appraisalRecords/appraisalRecordsDetails.vue'),
      name: 'appraisalRecordsDetails',
      meta: { title: '考核记录详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'evaluate',
      component: () => import('@/views/staging/commom/evaluate/index'),
      name: 'evaluate',
      meta: { title: '综合评价', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'evaluateDetails',
      component: () => import('@/views/staging/commom/evaluate/detail'),
      name: 'evaluateDetails',
      meta: { title: '综合评价详情', icon: '&#xe648;', level: 4 },
      hidden: true
    },
    {
      path: 'AnnualWork',
      component: () => import('@/views/staging/commom/AnnualWork/index'),
      name: 'AnnualWork',
      meta: { title: '年度重点工作', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'AnnualWorkDetails',
      component: () => import('@/views/staging/commom/AnnualWork/details'),
      name: 'AnnualWorkDetails',
      meta: { title: '年度重点工作详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'pollutionSources',
      component: () => import('@/views/staging/environment/PollutionSources/index'),
      name: 'pollutionSources',
      meta: { title: '污染源', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'pollutionSourcesDetail',
      component: () => import('@/views/staging/environment/PollutionSources/detail'),
      name: 'pollutionSourcesDetail',
      meta: { title: '污染源详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'AnnualWorkCompany',
      component: () => import('@/views/staging/commom/AnnualWork/companyList.vue'),
      name: 'AnnualWorkCompany',
      meta: { title: '企业完成情况', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'AnnualWorkCompanyDetails',
      component: () => import('@/views/staging/commom/AnnualWork/companyDetails.vue'),
      name: 'AnnualWorkCompanyDetails',
      meta: { title: '企业年度重点工作完成详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'AnnualWorkExamineDetails',
      component: () => import('@/views/staging/commom/AnnualWork/examineDetail.vue'),
      name: 'AnnualWorkExamineDetails',
      meta: { title: '企业年度重点工作审核详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'dangerTreatment',
      component: () => import('@/views/staging/commom/dangerTreatment/index'),
      name: 'dangerTreatment',
      meta: { title: '隐患治理', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'dangerTreatmentDetails',
      component: () => import('@/views/staging/commom/dangerTreatment/details.vue'),
      name: 'dangerTreatmentDetails',
      meta: { title: '隐患治理详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'facility',
      component: () => import('@/views/staging/commom/facility/index'),
      name: 'facility',
      meta: { title: '设备设施', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'facilityDetail',
      component: () => import('@/views/staging/commom/facility/details'),
      name: 'facilityDetail',
      meta: { title: '设备设施详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'AccidentEvents',
      component: () => import('@/views/staging/commom/AccidentEvents/index'),
      name: 'AccidentEvents',
      meta: { title: '事故事件', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'AccidentEventsDetail',
      component: () => import('@/views/staging/commom/AccidentEvents/detail'),
      name: 'AccidentEventsDetail',
      meta: { title: '事故事件', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'AlarmManagement',
      component: () => import('@/views/staging/commom/AlarmManagement/index'),
      name: 'AlarmManagement',
      meta: { title: '预警报警管理', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'AlarmManagementDetail',
      component: () => import('@/views/staging/commom/AlarmManagement/detail'),
      name: 'AlarmManagementDetail',
      meta: { title: '预警报警管理详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'safeProduction',
      component: () => import('@/views/staging/safety/safeProduction/index'),
      name: 'safeProduction',
      meta: { title: '安全生产投入', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'safeProductionDetail',
      component: () => import('@/views/staging/safety/safeProduction/details'),
      name: 'safeProductionDetail',
      meta: { title: '安全生产投入详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'riskManagement',
      component: () => import('@/views/staging/safety/riskManagement/index'),
      name: 'riskManagement',
      meta: { title: '风险管控', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },

    {
      path: 'riskManagementListDetail',
      component: () => import('@/views/staging/safety/riskManagement/detailList.vue'),
      name: 'riskManagementListDetail',
      meta: { title: '风险管控详情列表', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'riskManagementDetail',
      component: () => import('@/views/staging/safety/riskManagement/details'),
      name: 'riskManagementDetail',
      meta: { title: '风险管控详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'environBusiness',
      component: () => import('@/views/staging/environment/index'),
      name: 'environBusiness',
      meta: { title: '环保业务', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'solidWaste',
      component: () => import('@/views/staging/environment/solidWaste/index'),
      name: 'solidWaste',
      meta: { title: '固废管理', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'solidWasteDetail',
      component: () => import('@/views/staging/environment/solidWaste/detail'),
      name: 'solidWasteDetail',
      meta: { title: '固废管理详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'pollutionDischarge',
      component: () => import('@/views/staging/environment/pollutionDischarge/index'),
      name: 'pollutionDischarge',
      meta: { title: '排污许可证', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'pollutionDischargeDetail',
      component: () => import('@/views/staging/environment/pollutionDischarge/detail'),
      name: 'pollutionDischargeDetail',
      meta: { title: '排污许可证详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'productionInput',
      component: () => import('@/views/staging/fireFighting/productionInput/index'),
      name: 'productionInput',
      meta: { title: '消防生产投入', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'productionInputDetail',
      component: () => import('@/views/staging/fireFighting/productionInput/detail'),
      name: 'productionInputDetail',
      meta: { title: '消防生产投入详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'riskMonitoring',
      component: () => import('@/views/staging/fireFighting/riskMonitoring/index'),
      name: 'riskMonitoring',
      meta: { title: '消防重点部位', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'riskMonitoringDetail',
      component: () => import('@/views/staging/fireFighting/riskMonitoring/detail'),
      name: 'riskMonitoringDetail',
      meta: { title: '消防重点部位详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'leaseOfHouses',
      component: () => import('@/views/staging/fireFighting/leaseOfHouses/index'),
      name: 'leaseOfHouses',
      meta: { title: '房屋租赁消防安全', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'leaseOfHousesDetail',
      component: () => import('@/views/staging/fireFighting/leaseOfHouses/detail'),
      name: 'leaseOfHousesDetail',
      meta: { title: '房屋租赁消防安全详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'energySavingDiagnosis',
      component: () => import('@/views/staging/energySources/energySavingDiagnosis/index'),
      name: 'energySavingDiagnosis',
      meta: { title: '技能诊断评估', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'energySavingDiagnosisDetail',
      component: () => import('@/views/staging/energySources/energySavingDiagnosis/detail'),
      name: 'energySavingDiagnosisDetail',
      meta: { title: '技能诊断评估详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'energyConsumption',
      component: () => import('@/views/staging/energySources/energyConsumption/index'),
      name: 'energyConsumption',
      meta: { title: '能耗分析', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'keyEquipment',
      component: () => import('@/views/staging/energySources/keyEquipment/index'),
      name: 'keyEquipment',
      meta: { title: '重点设备管理', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'keyEquipmentDetail',
      component: () => import('@/views/staging/energySources/keyEquipment/detail'),
      name: 'keyEquipmentDetail',
      meta: { title: '重点设备管理详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'performance',
      component: () => import('@/views/staging/carbon/performance/index'),
      name: 'performance',
      meta: { title: '配额履约管理', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'performanceDetail',
      component: () => import('@/views/staging/carbon/performance/detail'),
      name: 'performanceDetail',
      meta: { title: '配额履约管理详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'carbonSink',
      component: () => import('@/views/staging/carbon/carbonSink/index'),
      name: 'carbonSink',
      meta: { title: '碳汇管理', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'carbonSinkDetail',
      component: () => import('@/views/staging/carbon/carbonSink/detail'),
      name: 'carbonSinkDetail',
      meta: { title: '碳汇管理详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'projectManage',
      component: () => import('@/views/staging/carbon/projectManage/index'),
      name: 'projectManage',
      meta: { title: '一般降碳项目管理', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'projectManageDetail',
      component: () => import('@/views/staging/carbon/projectManage/detail'),
      name: 'projectManageDetail',
      meta: { title: '一般降碳项目管理详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'systemManage',
      component: () => import('@/views/staging/energySources/systemManage/index'),
      name: 'systemManage',
      meta: { title: '能源管理体系', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'systemManageList',
      component: () => import('@/views/staging/energySources/systemManage/list'),
      name: 'systemManageList',
      meta: { title: '能源管理体系列表', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'systemManageDetail',
      component: () => import('@/views/staging/energySources/systemManage/detail'),
      name: 'systemManageDetail',
      meta: { title: '能源管理体系详细', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'emissionData',
      component: () => import('@/views/staging/carbon/emissionData/index'),
      name: 'emissionData',
      meta: { title: '碳排放数据', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'emissionDataDetail',
      component: () => import('@/views/staging/carbon/emissionData/detail'),
      name: 'emissionDataDetail',
      meta: { title: '碳排放数据详情', icon: '&#xe648;', level: 4 }
    },
    {
      path: 'energyProjectManagement',
      component: () => import('@/views/staging/energySources/energyProjectManagement/index'),
      name: 'energyProjectManagement',
      meta: { title: '能源项目管理', icon: '&#xe648;', level: 3, keepAlive: true, scrollTop: 0 }
    },
    {
      path: 'energyProjectManagementDetail',
      component: () => import('@/views/staging/energySources/energyProjectManagement/detail'),
      name: 'energyProjectManagementDetail',
      meta: { title: '能源项目管理详情', icon: '&#xe648;', level: 4 }
    }
  ]
}

export default staging
